import ajax from '@/utils/request.js'

export function getUserInfo(data) {
    return ajax({
        url: '/mobile/activity/getUserInfo',
		method: 'GET',
        data
    })
}

// 保存视频
export function saveUserVideo(data) {
    return ajax({
        url: '/mobile/activity/saveWorks',
		method: 'GET',
        data
    })
}

// 获取作品列表
export function getWorkList(data) {
    return ajax({
        url: '/mobile/activity/getWorksList',
		method: 'GET',
        data
    })
}

// 获取作品列表
export function worksReview(data) {
    return ajax({
        url: '/mobile/activity/worksReview',
		method: 'GET',
        data
    })
}

// 分享作品
export function worksShare(data) {
	return ajax({
		url: '/mobile/activity/shareWorks',
		method: 'GET',
		data
	})
}

// 作品点赞和取消点赞
export function workLike(data) {
	return ajax({
		url: '/mobile/activity/workLike',
		method: 'GET',
		data
	})
}

// 获取教练海报
export function getPoster(data) {
	return ajax({
		url: '/mobile/activity/getPoster',
		method: 'GET',
		data
	})
}

// 获取评选结果
export function getResult(data) {
	return ajax({
		url: '/mobile/activity/getResult',
		method: 'GET',
		data
	})
}



